<script language="JavaScript">	

function mionclick(){
    //Volviendo a carga el menu principal
    //location.href = "frame2.jsp";
    //window.location.replace("frame2.jsp");
    //window.parent.location.reload();
    window.parent.location.href = "frame2.jsp";
}

function mionclickTransferencia(){
    window.parent.location.href = "../menuT/frame.jsp";
}

//Carga el contenido del submenu "id_menu"
//Llamado al hacer click sobre un submenu
function menu(id_menu, titulo_menu){	
        //alert("menu: "+id_menu+" "+titulo_menu);
	objFrame = window.parent.document.getElementsByTagName("frameset");
        var menu = id_menu.substring(0,1);
        var index = eval( id_menu.substring(1) );// "m101" --> "101" --> 101
       
        if(menu=="P") {            
            switch(index){
                case 100:
                    //submenu_construccion(titulo_menu);
                    submenu_abrir("../../dispatcher?controller=personal&action=verDescargaArchivos", titulo_menu);
                    break;
                case 200:
                    //submenu_construccion(titulo_menu);
                    submenu_abrir("../../dispatcher?controller=personal&action=verMantenimiento", titulo_menu);
                    break;                
            }
        }        
        else if(menu=="R") {                      
            switch(index){
                case 100:
                    //submenu_construccion(titulo_menu);
                    submenu_abrir("../../dispatcher?controller=conglomerado_personal_resumen&action=verProgramacion", titulo_menu);
                    break;                
                case 200:
                    //submenu_construccion(titulo_menu);
                    submenu_abrir("../../dispatcher?controller=conglomerado_personal_resumen&action=verReporte", titulo_menu);
                    break;
                case 300:
                    //submenu_construccion(titulo_menu);
                    submenu_abrir("../../dispatcher?controller=programacion_periodo&action=verMantenimiento", titulo_menu);
                    break;
            }
        }
        else {
            alert("--");
        }
        
	//document.getElementById("hdnTamFrame").value = objFrame[0].rows;
}

</script>



<div id="Menu2"	style="width: 100px; height: 40px; z-index: 4; left: 265px; top: 55px" class="cabMenu"
onMouseOver="despMenu('m_personal',1,this)" onMouseout="despMenu('m_personal',0,this)" onclick="mionclick()">
	<table width="100%" border="0" onmouseover="destacar_menu(this, 1);" onmouseout="destacar_menu(this, 0);" >
		<tr>
			<td align="center" valign="middle" style="font-size:10pt" >  
                            <b> Personal &nbsp; </b> <br/>
                        <!--<img src="../images/tablet.png" height="16" border="0" align="texttop" />-->
                        <img src="../../images/pages-brown-icon.png" height="16" border="0" align="texttop" />
			</td>
		</tr>
	</table>
</div>

<div id="Menu9"	style="width: 108px; height: 40px; z-index: 4; left: 365px; top: 55px" class="cabMenu" 
onMouseOver="despMenu('m_transferencia',1,this)" onMouseout="despMenu('m_transferencia',0,this)" onclick="mionclickTransferencia()">
	<table width="100%" border="0" onmouseover="destacar_menu(this, 1);" onmouseout="destacar_menu(this, 0);">
		<tr>
			<td align="center" valign="middle" style="font-size:10pt">
				<b> &nbsp;Transferencia de archivos&nbsp; </b>
				<img src="../../images/reportes1.gif" height="14" border="0" align="texttop" />&nbsp;
			</td>
		</tr>
	</table>
</div>

<div id="Menu85"	style="width: 100px; height: 40px; z-index: 4; left: 473px; top: 55px" class="cabMenu"
onMouseOver="despMenu('m_rutas',1,this)" onMouseout="despMenu('m_rutas',0,this)" onclick="mionclick()">
	<table width="100%" border="0" onmouseover="destacar_menu(this, 1);" onmouseout="destacar_menu(this, 0);" >
		<tr>
			<td align="center" valign="middle" style="font-size:10pt" > 
                            <b> Programacion de rutas &nbsp; </b> 
                            <img src="../../images/tramite.gif" height="16" border="0" align="texttop" />
			</td>
		</tr>
	</table>
</div>


<div id="layer"	style="width: 231px; height: 40px; z-index: 4; left: 573px; top: 55px" class="cabMenu"
onmouseover="despMenu('m_tablet_data',1,this)" onmouseout="despMenu('m_tablet_data',0,this)" >
  <table width="100%" border="0" onmouseover="destacar_menu(this, 1);" onmouseout="destacar_menu(this, 0);" >
    <tr>
                
       

<!--      <td align="center" valign="middle" style="font-size:10pt" ><b> &nbsp; </b> 
	  <img src="../images/tramite.gif" height="16" border="0" align="texttop" />
          <a href="../test"> TEST AUTOMATICO </a>
	   </td>-->
           
    </tr>
  </table>
</div>


